﻿using BCEntity.TMS.DisableArea.DisableAreaRangeCoordinate;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace BCData.TMS.DisableArea.DisableAreaRangeCoordinate
{
    /// <summary>
    /// 禁止区域范围坐标数据
    /// </summary>
   public interface IDisableAreaRangeCoordinateData
    {
        /// <summary>
        /// 添加禁止区域范围坐标
        /// </summary>
        /// <param name="disableAreaId">禁止装卸货区域Id</param>
        /// <param name="disableAreaRangeCoordinateEntities">禁止区域范围坐标列表</param>
        /// <returns></returns>
        Task<int> Add(long disableAreaId,List<DisableAreaRangeCoordinateEntity> disableAreaRangeCoordinateEntities);
        /// <summary>
        /// 删除禁止区域范围坐标
        /// </summary>
        /// <param name="disableAreaId">禁止范围id</param>
        /// <returns></returns>
        bool Delete(long disableAreaId);
        /// <summary>
        /// 查询禁止区域范围坐标
        /// </summary>
        /// <param name="disableAreaId">禁止区域Id</param>
        /// <returns></returns>
        Task<IEnumerable<DisableAreaRangeCoordinateEntity>> QueryDisableAreaRangeCoordinate(long disableAreaId);
    }
}
